<?php /* Smarty version Smarty-3.0.6, created on 2011-01-18 05:01:56
         compiled from "C:\wamp\www\office\template\login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:163974d34f4941fe531-57453878%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '03cd1a80596c041c30651ec493c8802f4105394e' => 
    array (
      0 => 'C:\\wamp\\www\\office\\template\\login.tpl',
      1 => 1295315629,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '163974d34f4941fe531-57453878',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php  $_config = new Smarty_Internal_Config('site.conf', $_smarty_tpl->smarty, $_smarty_tpl);$_config->loadConfigVars('setup', 'local'); ?>
<?php $_template = new Smarty_Internal_Template('header.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('title','Авторизация'); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<div id="login-wrapper">
<div class="box-header login">
Авторизация
</div>
<div class="box">
<?php if ($_smarty_tpl->getVariable('val')->value=='war'){?>
<div class="notification error">
	<?php if ($_smarty_tpl->getVariable('vali')->value=='log'){?>
		Не указан логин!
	<?php }elseif($_smarty_tpl->getVariable('vali')->value=='pas'){?>
		Не указан пароль!
	<?php }elseif($_smarty_tpl->getVariable('vali')->value=='lopa'){?>
		Логин или пароль неверный!
	<?php }else{ ?>
		Вы ввели неверный код с картинки!
	<?php }?>
</div>
<?php }elseif($_smarty_tpl->getVariable('val')->value=='ver'){?>
<div class="notification tip">Версия кабинета: <span class="strong"><?php echo $_smarty_tpl->getConfigVariable('version');?>
</span></div>
<?php }else{ ?>
<div class="notification info">Вы завершили сеанс!</div>
<?php }?>
<form method="post" class="login">
  <div class="row">
    <label>Логин:</label>
    <input type="text" name="aLogin" class="<?php if (isset($_smarty_tpl->getVariable('class',null,true,false)->value)){?><?php echo $_smarty_tpl->getVariable('class')->value;?>
<?php }?>"/>
 </div>

  <div class="row">
    <label>Пароль:</label>
    <input type="password" name="aPassw" class="<?php if (isset($_smarty_tpl->getVariable('class',null,true,false)->value)){?><?php echo $_smarty_tpl->getVariable('class')->value;?>
<?php }?>"/>
 </div>
<div class="row">
	<label>Введите текст с картинки: </label>
	<input type="text" name="captcha" class="<?php if (isset($_smarty_tpl->getVariable('class',null,true,false)->value)){?><?php echo $_smarty_tpl->getVariable('class')->value;?>
<?php }?>">
	<img src="captcha.php" id="captcha" />
 </div>
   <div class="row tr">
   <a href="?do=register" class="button" style="color:white; text-decoration:none;">Регистрация</a>
   <input type="submit" name="do" value="Войти" class="button" style="width:90px!important;" />
    </div>
 </form>
</div>
</div>

<?php $_template = new Smarty_Internal_Template("footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>